home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / fbifile / fbifile.frm < prev    next >
Text File  |  1995-05-08  |  8KB  |  266 lines

  1. VERSION 2.00
  2. Begin Form Fbifile 
  3.    BackColor       =   &H00FFFFFF&
  4.    Caption         =   "FBI File"
  5.    ClientHeight    =   3675
  6.    ClientLeft      =   1080
  7.    ClientTop       =   2235
  8.    ClientWidth     =   7335
  9.    FontBold        =   -1  'True
  10.    FontItalic      =   0   'False
  11.    FontName        =   "Futura Md BT"
  12.    FontSize        =   12
  13.    FontStrikethru  =   0   'False
  14.    FontUnderline   =   0   'False
  15.    Height          =   4365
  16.    Left            =   1020
  17.    LinkMode        =   1  'Source
  18.    LinkTopic       =   "Form1"
  19.    ScaleHeight     =   3675
  20.    ScaleWidth      =   7335
  21.    Top             =   1605
  22.    Width           =   7455
  23.    Begin CommandButton BTN_View 
  24.       Caption         =   "View Profile"
  25.       Height          =   495
  26.       Left            =   2520
  27.       TabIndex        =   0
  28.       Top             =   3120
  29.       Width           =   1935
  30.    End
  31.    Begin Menu MNU_File 
  32.       Caption         =   "&File"
  33.       Begin Menu MNU_New 
  34.          Caption         =   "&New Profile"
  35.       End
  36.       Begin Menu MNU_Exit 
  37.          Caption         =   "E&xit"
  38.       End
  39.    End
  40.    Begin Menu MNU_About 
  41.       Caption         =   "&About"
  42.    End
  43. End
  44. Sub AliasData ()
  45.     Cls
  46.     Print : Print
  47.     Print UCase$("aliases:")
  48.     Print
  49.     Print Tab(10); "Three-Finger "; nickname.nickname1.Text
  50.     Print
  51.     Print Tab(10); nickname.nickname2.Text; " the Knife"
  52. End Sub
  53.  
  54. Sub BackGroundData ()
  55.     Cls
  56.     Randomize: Randnum& = (Rnd(0) * 45000) + (Rnd(0) * 21000)
  57.     casenum$ = Str$(Randnum&)
  58.     Print Tab(15); UCase$("fbi official dossier")
  59.     Print Tab(12); UCase$("undesirable file") + " # " + casenum$
  60.     Print
  61.     Print UCase$("Subject:")
  62.     Print Tab(10); background.username.Text
  63.     Print
  64.     Print UCase$("Last seen at:")
  65.     Print Tab(10); background.street.Text
  66.     Print Tab(10); background.city.Text
  67.     Print Tab(10); background.state.Text
  68.     BTN_View.Caption = "More..."
  69. End Sub
  70.  
  71. Sub BTN_View_Click ()
  72.     counter = counter + 1
  73.     printprofile
  74. End Sub
  75.  
  76. Sub CloseFileData ()
  77.     Cls
  78.     Print : Print : Print : Print
  79.     Print Tab(10); "FBI File Closed"
  80.     BTN_View.Caption = "Close File"
  81. End Sub
  82.  
  83. Sub Form_Load ()
  84.     windowstate = 0
  85.     BTN_View.Visible = 0
  86. End Sub
  87.  
  88. Sub GangData ()
  89.     Cls
  90.     Print : Print
  91.     Print UCase$("gang members:")
  92.     Print
  93.     Print Tab(10); friends.Friend1.Text; " the Dip"
  94.     Print Tab(10); "Killer "; friends.Friend2.Text
  95.     Print Tab(10); "Brass Knuckles "; friends.Friend3.Text
  96.     Print Tab(10); friends.Father.Text; " the Fence"
  97.     Print Tab(10); "Gun Moll "; friends.Mother.Text
  98. End Sub
  99.  
  100. Sub HangoutData ()
  101.     Cls
  102.     Print : Print
  103.     Print UCase$("hangout:")
  104.     Print
  105.     Print Tab(10); employment.Work.Text
  106. End Sub
  107.  
  108. Sub mafiadata ()
  109.     Cls
  110.     Print
  111.     Print
  112.     Print UCase$("mafia contacts:")
  113.     Print
  114.     Print Tab(10); "don "; employment.Bossname.Text
  115.     Print
  116.     Print Tab(10); "capo "; employment.Coworker.Text
  117. End Sub
  118.  
  119. Sub MNU_About_Click ()
  120.     'This plays the WAV:
  121.     i% = sndplaysound("intro.wav", 1)
  122.     'The flags work as follows:
  123.     '0 - wait until sound finishes before returning
  124.     '1 - return immediately - sound can be stopped with
  125.     '    i% =sndplaysound(0&, 0)
  126.     '2 - play no default if it can't find the WAV
  127.     '4 - play sound over and over, must be combined with 1 by calling the flag
  128.     '    i% =sndplaysound(snd_async or snd_loop, 0)
  129.     '    it can also be stopped with (0%,0)
  130.     '5 - returns false immediately if sound is already playing.
  131.     about1$ = "            FBI Profile" + Chr$(13)
  132.     about2$ = "    Written by Mike Davis" + Chr$(13)
  133.     about3$ = "          FREEWARE" + Chr$(13)
  134.     about4$ = "    Do with as you will" + Chr$(13)
  135.     about5$ = "America Online: MikeD48" + Chr$(13) + Chr$(13)
  136.     MsgBox about1$ + about2$ + about5$ + about3$ + about4$, 0, "FreeWare Notice"
  137. End Sub
  138.  
  139. Sub MNU_Exit_Click ()
  140.     End
  141. End Sub
  142.  
  143. Sub MNU_New_Click ()
  144.     Cls 'Clear the screen
  145.     background.Show      'display the background form and
  146.     background.SetFocus  'give it the focus
  147. End Sub
  148.  
  149. Sub PersProfData ()
  150.     Cls
  151.     Print : Print : Print
  152.     Print Tab(10); "Personal Profile on:": Print
  153.     Print Tab(13); background.username.Text
  154. End Sub
  155.  
  156. Sub printprofile ()
  157.     Select Case counter
  158.         Case 1
  159.             BackGroundData
  160.         Case 2
  161.             AliasData
  162.         Case 3
  163.             HangoutData
  164.         Case 4
  165.             GangData
  166.         Case 5
  167.             mafiadata
  168.         Case 6
  169.             PersProfData
  170.         Case 7
  171.             Profile1Data
  172.         Case 8
  173.             Profile2Data
  174.         Case 9
  175.             Profile3Data
  176.         Case 10
  177.             Profile4Data
  178.         Case 11
  179.             Profile5Data
  180.         Case 12
  181.             Profile6Data
  182.         Case 13
  183.             CloseFileData
  184.         Case 14
  185.             BTN_View.Visible = 0
  186.             Cls
  187.     End Select
  188. End Sub
  189.  
  190. Sub Profile1Data ()
  191.     Cls
  192.     Print : Print
  193.     Print Tab(10); background.username.Text; " is considered to be ";
  194.     Print Tab(10); "extremely dangerous."
  195.     Print
  196.     Print Tab(10); "Approach with Caution..."
  197.     Print
  198.     Print Tab(10); background.username.Text; " has been known to hide"
  199.     Print Tab(10); "lethal weapons in ";
  200.     Print preferences.food.Text; "."
  201. End Sub
  202.  
  203. Sub Profile2Data ()
  204.     Cls
  205.     Print : Print
  206.     Print Tab(10); background.username.Text; " had been the muscle "
  207.     Print Tab(10); "behind "; employment.Coworker.Text; "'s bookie and "
  208.     Print Tab(10); "loan sharking operation in "; background.city.Text
  209.     Print Tab(10); "during the late 70's."
  210. End Sub
  211.  
  212. Sub Profile3Data ()
  213.     Cls
  214.     Print
  215.     Print Tab(10); "As a dilligent enforcement agent"
  216.     Print Tab(10); "in organized crime,"
  217.     Print Tab(10); background.username.Text; " was known to"
  218.     Print Tab(10); "cut off a client's "; preferences.body.Text
  219.     Print Tab(10); "for non-payment of a loan."
  220.     Print
  221.     Print Tab(10); background.username.Text; " was also suspected of"
  222.     Print Tab(10); "force feeding "; preferences.fruit.Text; " to"
  223.     Print Tab(10); "someone because he was wearing "; preferences.color.Text;
  224.     Print " pants."
  225. End Sub
  226.  
  227. Sub Profile4Data ()
  228.     Cls
  229.     Print
  230.     Print Tab(10); "Currently, "; background.username.Text; " is a"
  231.     Print Tab(10); "member of "; employment.Bossname.Text; "'s crime "
  232.     Print Tab(10); "family in east "; background.state.Text; "."
  233.     Print Tab(10); background.username.Text; " is suspected of "
  234.     Print Tab(10); "attempted hits and mayhem on"
  235.     Print Tab(10); preferences.actor.Text; " and "; preferences.singer.Text; "."
  236.     Print Tab(10); background.username.Text; " is also a suspect in"
  237.     Print Tab(10); "threatening the cast of "; preferences.tvshow.Text
  238.     Print Tab(10); "with bodily harm."
  239. End Sub
  240.  
  241. Sub Profile5Data ()
  242.     Cls
  243.     Print : Print
  244.     Print Tab(10); background.username.Text; " managed to escape"
  245.     Print Tab(10); "prosecution all these years"
  246.     Print Tab(10); "because of the brilliant law firm of"
  247.     Print Tab(10); misc.pres1.Text; ", "; misc.pres2.Text; " and "; misc.pres3.Text; ","
  248.     Print Tab(10); "retained by don "; employment.Bossname.Text; "'s"
  249.     Print Tab(10); "national crime family."
  250. End Sub
  251.  
  252. Sub Profile6Data ()
  253.     Cls
  254.     Print : Print
  255.     Print UCase$("indictments:")
  256.     Print
  257.     Print Tab(10); "1 count of "; misc.hobby2.Text; " without a permit"
  258.     Print Tab(10); "2 counts of felonious "; misc.hobby1.Text
  259.     Print Tab(10); "3 counts of 3rd degree "; misc.hobby3.Text
  260.     Print
  261.     Print UCase$("convictions:")
  262.     Print
  263.     Print Tab(10); UCase$("none")
  264. End Sub
  265.  
  266.